package lianyz.simpleFX;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class MockTIMRateService implements ITTMRateService  {

    public List<TTMRate> getTTMRatesToday() {
        TradeDate tradeDate20080302 = TradeDate.valueOf("20080302");
        TTMRate usdToJpy = new TTMRate(tradeDate20080302, "USD/JPY", new BigDecimal("121.53"));
        TTMRate eurToUsd = new TTMRate(tradeDate20080302, "EUR/USD", new BigDecimal("1.8950"));

        List<TTMRate> rateList = new ArrayList<TTMRate>();
        rateList.add(usdToJpy);
        rateList.add(eurToUsd);

        return rateList;
    }
}
